﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Aspect.DynamicData.Fields;
using System.ComponentModel;
using Infrastructure.Aspect.Validation;
namespace Skynet.BusinessEntities
{
    
    [MetadataType(typeof(ExamCategoryDynamicData))]
    public partial class ExamCategory
    {

    }
    [ScaffoldTable(true)]
    public class ExamCategoryDynamicData
    {        
        [ScaffoldColumn(false)]        
        [AutoGenerateField(true)]
        [Key]
        public Guid Id { get; set; }

        
        [Display(Name="Titulo")]
        [DisplayName("Titulo")]
        [Required()]        
        [ValidationNotContainStrings(BadWords="no entry,no data")]
        public string Title { get; set; }

        [Display(Name = "Desripcion")]
        [DisplayName("Descripcion")]
        [Required()]        
        public string Description { get; set; }
        
        [ScaffoldColumn(false)]        
        public string FullDescription { get; set; }
    }
}
